home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 001 / versa11.arc / EXAMPLE.VER < prev    next >
Text File  |  1987-05-23  |  2KB  |  40 lines

  1. ;Sample Log-On Command File for VERSAdial v 1.1 and ProComm v 2.4.2
  2. ;By Allen Brunson, David Rhoten, and Gizmo
  3. ;01-87
  4.  
  5. ;This is an example of a script for automatically logging onto a
  6. ;PC-Board ver. 11.7
  7.  
  8. BEGIN:
  9. WAITFOR "=no?"                          ; Await "Graphics?" prompt, and
  10. TRANSMIT "Yes!"                         ; send response.
  11.  
  12. TIMEOUT1_LABEL:                         ; Provide a loop in case a long
  13. WAITFOR "name?"                         ; opening screen causes the
  14. IF NOT WAITFOR                          ; WAITFOR to time out.
  15.    GOTO TIMEOUT1_LABEL
  16. ENDIF
  17.  
  18. TRANSMIT "First Last!"                  ; Send full name. PC-B knows not
  19.                                         ; to prompt for second name.
  20. TIMEOUT2_LABEL:                         ; Loop point in case Board has a
  21. WAITFOR "echo)?"                        ; large user-base, while awaiting
  22. IF NOT WAITFOR                          ; the "Password" prompt.
  23.    GOTO TIMEOUT2_LABEL
  24. ENDIF
  25.  
  26. TRANSMIT "Password!"                    ; Send Password.
  27.  
  28. TIMEOUT3_LABEL:                         ; Loop point for above reason while
  29. WAITFOR "=yes?"                         ; waiting for the "Check Your Mail?"
  30. IF NOT WAITFOR                          ; prompt.
  31.    GOTO TIMEOUT3_LABEL
  32. ENDIF
  33.  
  34. LOG OPEN "C:\procomm\log\PcB11-7.LOG"   ; Begin a session log
  35.  
  36. TRANSMIT "!"                            ; Accept the "Yes" default.
  37.  
  38. END:                                    ; End the command file, and exit
  39. EXIT                                    ; back to ProComm.
  40.